home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
netz
/
amislate
/
examplerexx
/
raster.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-08-05
|
566b
|
32 lines
/* A test of the rastering system */
parse arg CommandPort ActiveString
if (length(CommandPort) == 0) then do
say ""
say "Usage: rx raster.rexx <REXXPORTNAME>"
say " (REXXPORTNAME is usually AMISLATE)"
say ""
say "Or run from the Rexx menu within AmiSlate."
say ""
exit 0
end
address (CommandPort)
'setraster 10 10 100 100 0'
i = 0
count = 0
do while (1)
i = i + 1
count = count i + 1
if (count > 500) then exit
if (i > 6) then do
i = 1
end
'putrasterpixel 3 PEN 'i
'waitevent 1'
end